{template header} 
 <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#e6e6e6"><table width="920" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="200" valign="top"> {template usermenu}</td>
        <td width="720" bgcolor="#FFFFFF"><table width="700" border="0" align="center" cellpadding="0" cellspacing="10" bgcolor="#666666">
          <tr>
            <td height="580" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="720" height="1" colspan="3" bgcolor="#E6E6E6"></td>
                </tr>
              <tr>
                <td height="30" colspan="3" bgcolor="#f9f9f9"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="25"><img src="{APPPUBLIC}Images/Public/Point.gif" width="14" height="10" /></td>
                    <td class="Categories_Menu"><a href="#" class="Categories_Menu_a">首页</a> <font face="宋体">&gt;</font> 会员中心 <font face="宋体">&gt;</font> <strong>红包管理</strong></td>
                    </tr>
                  </table></td>
                </tr>
              <tr>
                <td height="1" colspan="3" bgcolor="#E6E6E6"></td>
                </tr>
              </table>

			  <table width="100%" cellspacing="1" cellpadding="5" border="0" bgcolor="#dddddd">
        <tbody><tr>
          <th bgcolor="#ffffff" align="center">红包序号</th>
          <th bgcolor="#ffffff" align="center">红包名称</th>
          <th bgcolor="#ffffff" align="center">红包金额</th>
          <th bgcolor="#ffffff" align="center">最小订单金额</th>
          <th bgcolor="#ffffff" align="center">截至使用日期</th>
          <th bgcolor="#ffffff" align="center">红包状态</th>
        </tr>
		<!--{loop $bonus $key $list}-->
                        <tr>
          <td bgcolor="#ffffff" align="center">{$list['sn']}</td>
          <td bgcolor="#ffffff" align="center">{$list['name']}</td>
          <td bgcolor="#ffffff" align="center">{$list['money']}</td>
          <td bgcolor="#ffffff" align="center">{$list['min_money']}</td>
          <td bgcolor="#ffffff" align="center">{$list['use_end_date']}</td>
          <td bgcolor="#ffffff" align="center">{$list['used']}</td>
        </tr>
		<!--{/loop}-->
		                <tr>
                  <td colspan="6" class="line_Bg_1" height="1"></td>
                  </tr>
					<tr>
                  <td colspan="6" class="line_Bg_1" height="1">{template pages}</td>
                  </tr>
				  <tr>
				  <td colspan="6">
	<form onsubmit="return addBonus()" method="post" action="{eval echo U('User/addbonus')}">
        <div style="padding: 15px;">
        红包序列号          <input type="text" size="30" name="sn"/>
          <input type="submit" value="添加红包" style="border: medium none ;"/>
        </div>
      </form>
	  </td>
	  </tr>
                      </tbody></table>
			  
			  </td>
            </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>

{template footer}